<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta name="generator" content="JsDoc Toolkit 1.0">
	<title>JsDoc: Color</title>
	<link rel=stylesheet href="default.css" type="text/css" media=screen>
</head>

<body>
	<div class="content">
		<div class="docs">
		
			<div class="sectionHead">Library: Color</div>
			<div class="section overview">
				<div class="itemTitle">
					Overview
				</div>
				<div>	
					<div class="desc">Color</div>
					<div class="itemTags">
					
						<ul>
							<li>desc: Color</li>
						</ul>
					
					</div>
				</div>
			</div>
			
			<div class="sectionHead">Constructors</div>
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			<div class="sectionHead">Functions</div>
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color"></a>
					
					
					Timeplot.Color(<span class="signature">color</span>)
					
				</div>
				
				
					<div class="desc">Create a Color object that can be used to manipulate colors programmatically.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							color
						</td>
						<td>
							
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color.set"></a>
					
						<i><a href="#Timeplot.Color" class="type">Timeplot.Color.</a></i>set(<span class="signature">r</span>)
					
					
				</div>
				
				
					<div class="desc">Sets the RGB values of this coor</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							Number
						</td>
						<td>
							r
						</td>
						<td>
							
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color.transparency"></a>
					
						<i><a href="#Timeplot.Color" class="type">Timeplot.Color.</a></i>transparency(<span class="signature">a</span>)
					
					
				</div>
				
				
					<div class="desc">Set the color transparency</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							float
						</td>
						<td>
							a
						</td>
						<td>
							Transparency value, between 0.0 (fully transparent) and 1.0 (fully opaque).
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color.lighten"></a>
					
						<i><a href="#Timeplot.Color" class="type">Timeplot.Color.</a></i>lighten(<span class="signature">level</span>)
					
					
				</div>
				
				
					<div class="desc">Lightens the color.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							integer
						</td>
						<td>
							level
						</td>
						<td>
							Level to lighten the color with.
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color.darken"></a>
					
						<i><a href="#Timeplot.Color" class="type">Timeplot.Color.</a></i>darken(<span class="signature">level</span>)
					
					
				</div>
				
				
					<div class="desc">Darkens the color.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							integer
						</td>
						<td>
							level
						</td>
						<td>
							Level to darken the color with.
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color.check"></a>
					
						<i><a href="#Timeplot.Color" class="type">Timeplot.Color.</a></i>check(<span class="signature"></span>)
					
					
				</div>
				
				
					<div class="desc">Checks and validates if the hex values r, g and b are
between 0 and 255.</div>
				
				
				
				
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="Timeplot.Color.toHexString"></a>
					
						<i><a href="#Timeplot.Color" class="type">Timeplot.Color.</a></i>toHexString(<span class="signature"></span>)
					
					
				</div>
				
				
					<div class="desc">Returns the hexadecimal representation of this color (without the alpha channel as hex colors don't support it)</div>
				
				
				
				
				
				
				
				
				
			</div>
			
			
			
			<div class="sectionHead">Objects</div>
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		</div>
	</div>
	<div class="finePrint">
	Generated by <a href="http://jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> on Fri, 27 Jul 2007 04:11:47 GMT
	</div>
</body>
</html>
